package net.aiform.template.pojo;

import java.io.Serializable;
import java.util.Set;

import net.aiform.pojo.Identity;

public class Option implements Serializable {

	private static final long serialVersionUID = 4331954858683348318L;
	private Identity identity;
	private boolean random;
	private boolean custom;
	private Set<Item> items;

	public Option() {
		super();
		this.identity = new Identity();
	}

	public Identity getIdentity() {
		return identity;
	}

	public Set<Item> getItems() {
		return items;
	}

	public boolean isCustom() {
		return custom;
	}

	public boolean isRandom() {
		return random;
	}

	public void setCustom(boolean custom) {
		this.custom = custom;
	}

	public void setIdentity(Identity identity) {
		this.identity = identity;
	}

	public void setItems(Set<Item> items) {
		this.items = items;
	}

	public void setRandom(boolean random) {
		this.random = random;
	}

	@Override
	public String toString() {
		return "Option [custom=" + custom + ", identity=" + identity + ", items=" + items + ", random=" + random + "]";
	}
}
